package io.renren.modules.generator.dao;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import io.renren.modules.generator.entity.GoodsEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 商品管理
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-02-15 15:37:11
 */
@Mapper
public interface GoodsDao extends BaseMapper<GoodsEntity> {

    List<GoodsEntity> goodsByPrice();

    List<GoodsEntity> goodsByKey(Object id);

}
